package com.googlecode.mgwt.expenses.client;

import com.google.gwt.activity.shared.Activity;
import com.google.gwt.activity.shared.ActivityMapper;
import com.google.gwt.place.shared.Place;
import com.googlecode.mgwt.expenses.client.gin.ExpenseInjector;

public class TabletNavActivityMapper implements ActivityMapper {

	private final ExpenseInjector injector;

	public TabletNavActivityMapper(ExpenseInjector injector) {
		this.injector = injector;

	}

	@Override
	public Activity getActivity(Place place) {
		return injector.getExpenseListActivity();
	}
}
